package com.qianji.mapper;

import com.qianji.pojo.AdPlaceDto;
import com.qianji.pojo.ThirdPartyDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author 钟丽诗
 * @Date 201.4.19
 * 第三方链接，即活动奖品中的链接
 */

@Mapper
public interface ThirdPartyMapper {

    ThirdPartyDto findLink(Long id);

    AdPlaceDto findPlace(Long id);

    List<ThirdPartyDto> findByPanId(Long id, Integer number);

    List<ThirdPartyDto> findToRests(Long adId,Integer number);

}
